<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery-1.7.2.js"></script>
</head>
<body>
<h4></h4>
<script>
    var x = 1;
    var y = 1;
    var a =4*x;
    var b = 8*y;
    function calc(){
        for(x=1,x<750,x++){

        }
        if(a + b =750){

        }
    }


</script>
</body>
</html>